package com.droidski.taskdb.model;

import java.io.Serializable;

/**
 * any action performed on a task results in some task history
 */
public class History implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1;
	
	Status status;
	long time;
	String comment;

	public History() {
		
	}
	
	public History(Status status, String comment) {
		this.status = status;
		this.comment = comment;
		this.time = System.currentTimeMillis();
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
}
